package kr.saeildamil.project.secretary;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Today {
	public Today() {
		
	}
	
	SimpleDateFormat sdf1=new SimpleDateFormat("yyyy"+"MM"+"dd");
	SimpleDateFormat sdf2=new SimpleDateFormat("yyyy"+"년 "+"MM"+"월 "+"dd"+"일");
	
	public Date date=new Date();
	public String currentdate1=sdf1.format(date);
	public String currentdate2=sdf2.format(date);
	
	String year=currentdate1.substring(0, 4);
	String month=currentdate1.substring(4, 6);
	String day=currentdate1.substring(6, 8);
}
